//
//  HomeTableViewController.m
//  SinaWeibo-OC
//
//  Created by apple on 15/11/29.
//  Copyright © 2015年 apple. All rights reserved.
//

#import "HomeTableViewController.h"
#import "UIBarButtonItem+Extension.h"
#import "WZGTabBarViewController.h"


@interface HomeTableViewController ()

@end

@implementation HomeTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:@"navigationbar_friendsearch" high:@"navigationbar_friendsearch_highlighted" target:self action:@selector(friendSearch)];
    
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem itemWithImage:@"navigationbar_pop" high:@"navigationbar_pop_highlighted" target:self action:@selector(scan)];
    
    
}

- (void)friendSearch {
    
    NBLog(@"朋友搜索");
}
- (void)scan {
    
    UIStoryboard *sb = [UIStoryboard storyboardWithName:@"WZGQrcoder" bundle:nil];
    WZGTabBarViewController *vc = sb.instantiateInitialViewController;
    
    [self presentViewController:vc animated:YES completion:nil];
    
}
#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
#warning Incomplete implementation, return the number of sections
    return 0;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
#warning Incomplete implementation, return the number of rows
    return 0;
}



@end
